package main

import (
	"github.com/gin-gonic/gin"
	"k8s-dash/config"
	_ "k8s-dash/docs"
	"k8s-dash/routes"
	"k8s-dash/utils/logger"
)

func main() {
	gin.SetMode(gin.ReleaseMode)
	//初始化日志
	logger.InitLogger()
	//加载配置文件
	config.BindConfigFile("./config/config.yaml")
	//todo：初始化一个k8s的客户端出来
	router.InitLocalK8sClient()
	//todo： 初始化路由
	router.RunServer()
}
